#include <iostream>
using namespace std;
class Rectangle{
private:
    int w;
    int h;
public:
    Rectangle(int _w, int _h){
        w = _w;
        h = _h;
    }
};
// Yeu cau tinh dien tich cua 1 hcn cho truoc
 float area(Rectangle rc)
 {
     return rc.w * rc.h;
 }
int main()
{
    Rectangle rc(3,4);
    cout<<rc.area();

}
